﻿using Abp.Configuration;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace AbpProjectTemplate.Application.Configuration.Dtos
{
    public class CustomerConfigSetInput
    {
        /// <summary>
        /// 配置名称
        /// </summary>
        [Required, StringLength(Setting.MaxNameLength)]
        public string Name { get; set; }
        /// <summary>
        /// 配置值,json对像，例：{"aa":1,"bb":"ccc",cc:[1,3,4]}
        /// </summary>
        [Required]
        public Dictionary<string, object> Value { get; set; }
    }
}
